#!/usr/bin/env python
# -*- coding: utf-8 -*-
# time: 2023/11/1 16:03
# file: wav_test.py
# author: Yingxiao Zhang

from scipy.io import wavfile

sample_rate, sig = wavfile.read('test_wavs/0478_00017.wav')
print(sample_rate)
print(sig)
print(sig.dtype)
sample_rate, sig = wavfile.read('test_wavs/download.wav')
print(sample_rate)
print(sig)
print(sig.dtype)